<!DOCTYPE html>
<html lang="zh">
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0"/>

	<title>家校互动系统</title>
	<link rel="shortcut icon" href="favicon.ico" />
	 <link href="__TMPL__css/bootstrap.min.css" rel="stylesheet" type="text/css" />
	<link href="__TMPL__css/m.css" rel="stylesheet" type="text/css" />
	<script src="__TMPL__js/jquery.min.js"></script>
	<script src="__TMPL__js/m.js"></script>
	<!--[if lt IE 9]>
	<script src="js/html5.js"></script>
	<![endif]-->
</head> 
<body><!-- 背景可后台替换 -->
<div class="wrap ui-page  ui-body-c ui-page-active webwidth">
    			<if condition="$f eq '1'">

	<div class="ui-header">
		<a href="javascript:history.go(-1);" id="icoback" class="header-btn left-pos">返回</a>
		<h1 class="ui-title">{$exam_id|getinfo=###,'exam','exam_name'}</h1>
	</div>
    </if>
    
	<div id="wrapper" style="background:#FFF;">
		<div class="clear" style="padding:13px">
			<div class="scorehead" style="border-bottom:1px solid #e6e6e6;">
				<p>学生：{$student_id|getinfo=###,'student','XM'}</p>
				<h1>{$exam_id|getinfo=###,'exam','exam_name'}</h1>
				<div class="score">
					总分<br />
					{$result}分
				</div>
			</div>
			<div>
				<p>班级排名：第<span style="color:red">{~loadscore($exam_id,$student_id,5)}</span>名</p>
				<p>年级排名：第<span style="color:red">{~loadscore($exam_id,$student_id,4)}</span>名</p>
				<div>
科目成绩：
<volist name="resultlist" id="rsl">	{$rsl.subject_id|getinfo=###,'subject','KCMC'}:{~loadscoreresult($exam_id,$student_id,$rsl['subject_id'])}<br/>
</volist>
</div></div>
		</div>
	</div><!-- /wrapper -->
</div>

		<script type="text/javascript">
			//js模拟滚动条
			var myScroll;
			function loaded() {
				var myscroll=new iScroll("wrapper",{hScrollbar:true, vScrollbar:true});
			}

			document.addEventListener('touchmove', function (e) { e.preventDefault(); }, false);
			document.addEventListener('DOMContentLoaded', loaded, false);
		</script>

</body>
</html>